package com.luoqiu.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luoqiu.yygh.model.cmn.Dict;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;


public interface DictService extends IService<Dict> {

    Dict selectById(Long id);

    Object findChildData(Long id);

    void export(HttpServletResponse response) throws IOException;

    void importData(MultipartFile file) throws IOException;

    String getName(String dictCode, String value);

}
